package com.itheima.youdianda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.youdianda.domain.SysMenu;

import java.util.List;

/**
 * @Author Pan Rundong
 * @Date 2023-02-12 14:25
 * @Desc 菜单Service
 */
public interface SysMenuService extends IService<SysMenu> {
    /**
     * 菜单删除
     * @Author: Pan Rundong
     * @Date: 2023-02-12 16:31
     * @Greet2u:  （O｀ 3′O）~~♡
     * @param id
     * @return void
     */
    void deleteMenu(int id);

    /**
     * 获取所有菜单
     * @Author: Pan Rundong
     * @Date: 2023-02-12 17:44
     * @Greet2u:  （O｀ 3′O）~~♡
     * @return java.util.List<com.itheima.youdianda.domain.SysMenu>
     */
    List<SysMenu> getAllData();

    /**
     * 根据Id获取菜单详情
     * @Author: Pan Rundong
     * @Date: 2023-02-13 13:50
     * @Greet2u:  （O｀ 3′O）~~♡
     * @param id
     * @return com.itheima.youdianda.domain.SysMenu
     */
    SysMenu getMenu(Integer id);
}
